package com.he.DesignPatterns.decorator.demo1;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 快餐类 抽象构建者角色
 * @Author: HCL
 * @Date: 2024/8/27 11:11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public abstract class FastFood {
    private Double price;
    private String desc;

    public abstract double cost();
}
